package cn.tfyhyc.springcloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 头发又黑又长
 * @Date 2022/10/23 15:22
 * @email zwb15083976291@163.com
 */

@Component
@FeignClient("nacos-payment-provider")
public interface PaymentService {


    @GetMapping("/payment/nacos/{id}")
    String nacosPaymentById(@PathVariable("id") Long id);

}
